﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BasicData.Application.Output
{
    public class BomSparepartOutput
    {

        public long Id { get; set; }
        /// <summary>
        /// 外键 物料表
        /// </summary>
        public long Product_id { get; set; }
        /// <summary>
        /// 产品编号
        /// </summary>
        public string ProductCode { get; set; }
        /// <summary>
        /// 产品名称
        /// </summary>
        public string ProductName { get; set; }
        /// <summary>
        /// 规格型号
        /// </summary>
        public string Specification { get; set; }
        /// <summary>
        /// 单位
        /// </summary>
        public string Unit { get; set; }
        /// <summary>
        /// 品牌
        /// </summary>
        public string Spend { get; set; }
        /// <summary>
        /// 配件数量
        /// </summary>
        public int NNumber { get; set; }
        /// <summary>
        ///  损耗率
        /// </summary>
        public string BomBfb { get; set; }

        /// <summary>
        /// 父级id
        /// </summary>
        public long ParentId { get; set; }
        public string? CreatedBy { get; set; }
        public DateTime CreatedAt { get; set; } = DateTime.Now;
        public DateTime? UpdatedAt { get; set; }
    }
}
